﻿<UserControl xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"  x:Class="VAdvantage.Controls.VSortTab"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
   
    
    <Grid x:Name="LayoutRoot" VerticalAlignment="Center">
        
        <Grid.RowDefinitions>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" ></ColumnDefinition>
            <ColumnDefinition Width="*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        
        <Grid Grid.Row="0" Grid.Column="0" HorizontalAlignment="Right" >
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"></RowDefinition>
                <RowDefinition Height="8"></RowDefinition>
                <RowDefinition Height="Auto"></RowDefinition>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" ></ColumnDefinition>
                <ColumnDefinition Width="10" ></ColumnDefinition>
                <ColumnDefinition Width="70"></ColumnDefinition>
            </Grid.ColumnDefinitions>

            <sdk:Label x:Name="lblNo" Grid.Row="0" Grid.Column="0" HorizontalAlignment="Center" />

            <ListBox x:Name="lstNo" Grid.Row="2" Height="300" Width="170" Grid.Column="0" HorizontalAlignment="Right" >
            </ListBox>

            <StackPanel Orientation="Vertical" Grid.Row="2"  Grid.Column="2">
            <Button x:Name="btnRight" Width="50" Height="50"  Margin="0,0,0,10" HorizontalAlignment="Left" VerticalAlignment="Center" Click="btn_Click">
                    <Image Source="/VAdvantage;Component/Images/Detail32.png" Stretch="None"></Image>



                </Button>
                <Button Width="50" x:Name="btnLeft" Height="50" Margin="0,0,0,10" HorizontalAlignment="Left" Click="btn_Click" VerticalAlignment="Center">
                    <Image Source="/VAdvantage;Component/Images/Parent32.png" Stretch="None"></Image>

                </Button>
            </StackPanel>

        </Grid>

        <Grid Grid.Row="0" Grid.Column="1"  HorizontalAlignment="Left" >
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"></RowDefinition>
                <RowDefinition Height="10"></RowDefinition>
                <RowDefinition Height="Auto"></RowDefinition>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" ></ColumnDefinition>
                <ColumnDefinition Width="8" ></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>

            <sdk:Label x:Name="lblYes" Grid.Row="0" Grid.Column="0" HorizontalAlignment="Center" />

            <ListBox x:Name="lstYes" Grid.Row="2" Height="300" Width="170" Grid.Column="0" HorizontalAlignment="Right" >
            </ListBox>

            <StackPanel Orientation="Vertical" Grid.Row="2"  Grid.Column="2">
                <Button x:Name="btnUp" Width="50" Height="50" Click="btn_Click" VerticalAlignment="Center">

                    <Image Source="/VAdvantage;Component/Images/Previous32.png"></Image>

                </Button>
                <Button x:Name="btnDown" Margin="0,10,0,0" Width="50" Height="50" Click="btn_Click" VerticalAlignment="Center">
                    <Image Source="/VAdvantage;Component/Images/Next32.png"></Image>
                </Button>
            </StackPanel>

        </Grid>



    </Grid>
</UserControl>
